package com.wtw.service.serviceImpl;

import com.wtw.dao.UserDao;
import com.wtw.entity.User;
import com.wtw.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <strong>Title : <br></strong>
 * <strong>Package : <br></strong>
 * <strong>Description : </strong><br>
 * <strong>Create on : 2018/6/3<br></strong>
 * <p>
 *
 * @author tengwei.wang<br>
 * @version <strong>v1.0.0</strong><br>
 *          <br>
 *          <strong>修改历史:</strong><br>
 *          修改人 | 修改日期 | 修改描述<br>
 *          -------------------------------------------<br>
 *          <br>
 *          <br>
 */

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    @Override
    public User selectUserById(Integer id) {
        return userDao.selectUserById(id);
    }
}
